<!doctype html>
<html>
<head>
<title>代码笔记-让编程更简单</title>
<link href="http://www.aiwke.com/templets/xing1/css/base.css" rel="stylesheet">
<link href="http://www.aiwke.com/templets/xing1/css/mood.css" rel="stylesheet">
<!--[if lt IE 9]>
<![endif]--><script src="http://www.aiwke.com/templets/xing1/js/modernizr.js"></script>
<!-- 返回顶部调用 begin -->
<script type="text/javascript" src="http://www.aiwke.com/templets/xing1/js/jquery.1.4.2-min.js"></script>
<script type="text/javascript" src="http://www.aiwke.com/templets/xing1/js/js.js"></script>
<script src="http://www.aiwke.com/templets/xing1/Scripts/swfobject_modified.js" type="text/javascript"></script>
<!-- 返回顶部调用 end-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
<link href="http://codenote.file.alimmdn.com/css/codenote/base2.css" rel="stylesheet"><!--   css/base1.css-->
<!--<link href="http://codenote.file.alimmdn.com/css/codenote/index2.css" rel="stylesheet">  css/index1.css-->
<link href="http://cdn.bootcss.com/twitter-bootstrap/2.0.4/css/bootstrap.min.css" rel="stylesheet"><!-- css/bootstrap.css -->
<link href="http://cdn.bootcss.com/twitter-bootstrap/2.0.4/css/bootstrap-responsive.min.css" rel="stylesheet">
 
<div class="container" style="width:850px">
	<div class="row">
		<div class="col-md-12">
			<div class="row">
				<div class="col-md-1"></div>
				<div class="col-md-2">
					<br></><div id="logo"  ><a href="/" title=""><img src="https://coding.net/u/codenote/p/assert/git/raw/master/blog_project/logo.png" width="210" height="70"></a></div>
				</div>
				<div class="col-md-1"></div>
				<div class="col-md-6" style="font-size:19px;"> 
					
					 <div class="navbar " role="navigation" >
					 <br></>　
					 <ul class="nav navbar-nav">
					 <li><a href="/index.html">首页</a></li>
					 <li><a href="/waterfall.html">瀑布流式阅读</a></li>
					 
					 <li class="dropdown">
					 <a href="/" data-toggle="dropdown" class="dropdown-toggle">博文分类<span class="caret"></span></a>
					 <ul class="dropdown-menu" style="font-size:19px;">
					 <li><a href="/category/redis">Redis</a></li>
					 <li><a href="/category/jvm">JVM</a></li>
					 <li class="divider"></li>
						<li><a href="/category/linux">Linux</a></li>
						<li class="divider"></li>
						<li><a href="/category/spring">Spring</a></li>
					 </ul>
					 </li>
					 
					  <li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown">工具箱<strong class="caret"></strong></a>
						<ul class="dropdown-menu" style="font-size:19px;">
						<li><a href="#"></a></li>
						<li><a href="/jspmyadmin" target="_blank">JspMyAdmin</a></li>
						<li><a href="/tz.jsp" target="_blank">Jsp探针</a></li>
						<li><a href="/article/sitemap" target="_blank">网站地图</a></li>
						<li><a href="/userInfo2" target="_blank">用户中心</a></li>
						<li><a href="/message" target="_blank">站内消息</a></li>
						<li class="divider"></li>
						<li><a href="/plugin/tjb" target="_blank">淘金币工具</a></li>
						<li><a href="http://dir.scmor.com/google/" target="_blank">谷歌镜像</a></li>
						<li><a href="http://island.cnaaafree.org/" target="_blank">网址导航_静态</a></li>
						<li><a href="#">等待更多...</a></li>
						</ul></li>
						
						<li><a href="#">关于我</a></li>

					</div>
				</div>
				
				<div class="col-md-2"  style="font-size:19px;">
						 <div class="navbar" role="navigation" >
					 <br></>　
				
						
				</div>
			</div>
		</div>
	</div>
</div>
</div>
</head>
<body>


<div class="moodlist">
  <h1 class="t_nav" style="height:22px;">
  	<span>你有新的消息</span>
    <a href="http://www.aiwke.com" title="站内信" class="n1">站内信</a>
  </h1>

<div class="ccenter"> 
<div class="bloglist">
<div>你好，$!username 你有$!messages.size()条消息等待查收</div>

#if($messages.size()!=0)
#foreach($message in $messages)
<ul class="arrow_box">
    <div class="sy">
        <p>
           来自用户ID:$!message.from <br>最新消息内容:$!message.lastestMessage</p>
<div style="float:right;width:50px;"><a href="#" style="width: 100px; text-align: center;">删除</a></div>
<div style="float:right;width:50px;"><a href="#" style="width: 100px; text-align: center;">查看</a></div>                    
    </div>
    <span class="dateview">2015-07-21</span>
 </ul>
#end
#else
<ul class="arrow_box">
    <div class="sy">
        <p>
           暂时没有新消息</p>
    </div>
    <span class="dateview">2015-07-21</span>
 </ul>
#end

     <div class="page">
  		<li>首页</li>

<li><a href='list_3_2.html'>1</a></li>
<li><a href='list_3_2.html'>下一页</a></li>
<li><a href='list_3_2.html'>末页</a></li>
<li><span class="pageinfo">共 <strong>1</strong>页 <strong>22</strong>条 </span></li>

  	</div>
  </div>
 </div> 
 <div class="idea">
 <p>
消息发送:(匿名用户id为0)
<script>
    function PostData() {
        $.ajax({
            type: "POST",
            url: "/sendMessage",
            data : "",
            success: function(msg) {
            }
        });
        return false;
    }
</script>

  <!-- 
  <form class="form-horizontal" method = "post"  action = "/sendMessage">
    <fieldset>
    <div class="control-group">

           
            	来自:<input type="text" placeholder="0" name="from" class="input-xlarge" size="4">

                                    发给:<input type="text" placeholder="" name="to" class="input-xlarge" size="4">

            <div class="textarea">
                  <textarea type="" name="content" class=""> </textarea>
            </div>



            <button type="submit" class="btn btn-default">发送</button>


    </fieldset>
  </form>
-->
  <form class="form-horizontal" method = "post"  action = "/sendMessage">
    <fieldset>
    <div class="control-group">

          <!-- Text input-->
          <label class="control-label" for="input01">接受者用户ID</label>
          <div class="controls">
            <input type="text" placeholder="0" name="to" class="input-xlarge">
          </div>
        </div><div class="control-group">

          <!-- Search input-->
          <label class="control-label">发送者用户ID</label>
          <div class="controls"> 
            <input type="text" placeholder="1" name="from" class="input-xlarge search-query">
          </div>

        </div><div class="control-group">

          <!-- Textarea -->
          <label class="control-label">发送消息内容</label>
          <div class="controls">
            <div class="textarea">
                  <textarea type="" name="content" class="" style="width:270px"> </textarea>
            </div>
          </div>
        </div><div class="control-group">

          <!-- Prepended checkbox -->
          <label class="control-label">是否需要邮件通知</label>
          <div class="controls">
            <div class="input-prepend"  >
              <span class="add-on">
                <label class="checkbox">
                  <input type="checkbox" class="">
                </label>
              </span>
              <input class="span2" placeholder="填入对方邮箱地址" name="toAddress" style="width:240px" type="text">
            </div>
          </div>

        </div><div class="control-group">
          <label class="control-label"></label>

          <!-- Button -->
          <div class="controls">
            <button class="btn btn-primary" >提交</button>
          </div>
        </div>
    

    

    

    </fieldset>
  </form>



 </p>
</div> 
</div>
 
<script src="/templets/xing1/js/silder.js"></script>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
#parse("original_theme/footer.html")
</body>

<script type="text/javascript" src="http://codenote.file.alimmdn.com/js/codenote/jquery.min.js"></script><!-- js/jquery.min.js -->
<script type="text/javascript" src="http://codenote.file.alimmdn.com/js/codenote/bootstrap-slider.min.js"></script><!-- js/silder.js -->
<script type="text/javascript" src="http://codenote.file.alimmdn.com/js/codenote/bootstrap.min.js"></script><!-- js/bootstrap.js -->
<!--[if lt IE 9]>

<!--js/modernizr.js--> 
<script src="http://codenote.file.alimmdn.com/js/codenote/modernizr.js"></script>

<!-- 返回顶部调用 begin -->
<script type="text/javascript" src="http://codenote.file.alimmdn.com/js/codenote/js.js"></script>
<script src="http://codenote.file.alimmdn.com/js/codenote/swfobject_modified.js" type="text/javascript"></script>
<!-- 返回顶部调用 end-->

<script type="text/javascript" src="../js/index.js"></script>

</html>